function moduleA() {
    let count = 1
    function increase() {
        ++count
    }

    return {
        count,
        increase
    }
}

// 对象解构出来的变量和原来的不同，对比ESM符号绑定
let {count, increase} = moduleA()
console.log(count)
increase()
++count
console.log(count)